package com.Java.train.pay.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
@ConfigurationProperties(prefix = "alipay.easy")
@Getter
public class AliProperties {
    // 协议
    private String protocol;
    // 请求网关
    private String gatewayHost;
    // 签名类型
    private String signType;
    // 应用id
    private String appId;
    // 应用公钥
    private String merchantPrivateKey;
    // 支付宝公钥
    private String alipayPublicKey;
    // 异步通知网关
    private String notifyUrl;
    //
    private String encryptKey;
    //
    private String format;
}
